import request from '@/utils/request'

// 查询采集引擎列表
export function listEngine(query) {
  return request({
    url: '/system/engine/list',
    method: 'get',
    params: query
  })
}
// 新增采集引擎
export function addEngine(query) {
  return request({
    url: '/system/engine',
    method: 'post',
    data: query
  })
}
// 修改采集引擎
export function updateEngine(query) {
  return request({
    url: '/system/engine',
    method: 'put',
    params: query
  })
}

// 删除采集引擎
export function delEngine(query) {
  return request({
    url: '/system/engine',
    method: 'delete',
    params: query
  })
}
